<template>
  <div>
    <!-- 标题 -->
    <div class="settitle">
      <div class="setimg" @click="$router.back()">
        <img src="../assets/imgs/iconse/左箭头.png" alt="" />
      </div>
    </div>

    <!-- 文字描述 -->
    <div class="conss">
      <div class="text">
        <p>导入简历，智能检查优化</p>
      </div>
      <router-link tag="div" to="/pc" class="item">
        <div class="itemim">
          <img src="../assets/imgs/电脑_o.png" alt="" />
        </div>
        <div class="aws">
          <p class="con">电脑导入<span>推荐</span></p>
          <div class="imgse">
            <img src="../assets/imgs/右箭头.png" alt="" />
          </div>
        </div>
      </router-link>

      <div class="item" @click="wect">
        <div class="itemim">
          <img src="../assets/imgs/微信.png" alt="" />
        </div>
        <div class="aws">
          <p>微信导入</p>
          <div class="imgse">
            <img src="../assets/imgs/右箭头.png" alt="" />
          </div>
        </div>
      </div>

      <div class="item" @click="phon">
        <div class="itemim">
          <img src="../assets/imgs/手机_o.png" alt="" />
        </div>
        <div class="aws">
          <p>手机导入</p>
          <div class="imgse">
            <img src="../assets/imgs/右箭头.png" alt="" />
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    phon() {
      this.$toast("打开手机内部储存");
    },
    wect() {
      this.$toast("跳转微信");
    },
  },
};
</script>

<style lang="scss" scoped>
.settitle {
  height: 60px;
  display: flex;
  align-items: center;
  background-color: #fff;
  box-shadow: 0px 0px 0px 1px rgba($color: #cccc, $alpha: 0.4);
  .setimg {
    height: 18px;
    position: absolute;
    left: 15px;
    img {
      height: 100%;
      display: block;
    }
  }
}
.conss {
  padding: 0px 20px;
  margin-top: 30px;
  position: absolute;
  background-color: #fff;
  top: 60px;
  bottom: 0px;
  right: 0px;
  left: 0px;
  margin: auto;
  .text {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 30px;
  }
  .item {
    height: 60px;
    box-shadow: 0px 0px 5px 0px #ccc;
    border-radius: 5px;
    margin-bottom: 25px;
    box-sizing: border-box;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    .itemim {
      height: 35px;
      img {
        height: 100%;
      }
    }
    .aws {
      width: 100%;
      display: flex;
      align-items: center;
      p {
        margin-right: auto;
        margin-left: 20px;
        position: relative;
        span {
          display: block;
          position: absolute;
          width: 30px;
          height: 30px;
          line-height: 30px;
          font-size: 12px;
          padding: 0px 4px;
          text-align: center;
          background-color: #eb1c27;
          color: #fff;
          top: 0px;
          bottom: 0px;
          right: -50px;
          margin: auto 0;
          border-radius: 5px;
          transform: scale(0.7);
        }
      }
      .imgse {
        height: 15px;
        img {
          height: 100%;
        }
      }
    }
  }
}
</style>